package com.aigou.admin.aigouspringboot.service;

import com.aigou.admin.aigouspringboot.entity.OrderProduct;
import com.aigou.admin.aigouspringboot.entity.Product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderProductService {
    List<OrderProduct> selectAll();

    PageInfo<OrderProduct> selectOrderProductListByPage(Integer current);

    int deleteById(String id);

    OrderProduct selectById(String id);

    int edit(OrderProduct orderproduct);

    int save(OrderProduct orderproduct);

    List<Product> getProduct(String userId);

    OrderProduct selctNum(String userId);

    int deleteOrderById(String id);
}
